package org.springframework.boot.web.servlet.embed_tomcat;

import org.apache.catalina.LifecycleException;
import org.apache.catalina.LifecycleState;
import org.apache.catalina.util.StandardSessionIdGenerator;

/**
 * @author chenkh
 * @time 2020/11/23 15:57
 */
final class LazySessionIdGenerator extends StandardSessionIdGenerator {
    @Override
    protected void startInternal() throws LifecycleException {
        setState(LifecycleState.STARTING);
    }
}
